package com.appspot.didit.client.user;

import com.google.gwt.event.shared.GwtEvent;

public class CheckAvailableEvent extends GwtEvent<CheckAvailableHandler> {

    private static Type<CheckAvailableHandler> TYPE;

    public static Type<CheckAvailableHandler> getType() {
            return TYPE != null ? TYPE
                            : (TYPE = new Type<CheckAvailableHandler>());
    }

    public CheckAvailableEvent() {
    }

    @Override
    public final Type<CheckAvailableHandler> getAssociatedType() {
            return getType();
    }

    @Override
    protected void dispatch(CheckAvailableHandler handler) {
            handler.onCheckAvailable(this);
    }

}